<?php
namespace app\admin\model;

use think\Model;

class OrderStatus extends Model
{
    protected $pk = 'status_id';

    public static function getOrderStatus($data=[],$query=[],$page=10)
    {
        $model=self::field('status_id,order_status');

        $fen=[
            'list_rows'=>$page,
            'query'=>$query,
        ];
        $list=$model->paginate($fen);

        return $list;
    }
}